package com.info.zhiduoduo.admin.model.formbean.company;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class CreateRechargeFormBean {

	private int rechargeid;
	private int compid;

	@ApiModelProperty("企业支付方式ID")
	@NotNull(message = "企业支付方式ID不可为空")
	private Integer payId;

	@ApiModelProperty("充值回单单号,红充时不传")
	private String receiptno;
	@ApiModelProperty("充值回单url,红充时不传")
	private String receiptimg;
	@ApiModelProperty("充值金额,红充时填负数")
	private BigDecimal amount;
	@ApiModelProperty("红充备注")
	private String remark;
	@ApiModelProperty("主体ID")
	private Integer subjectId;
}
